/**
 * SysMenu.java
 * SysMenu实体映射对象
 * 
 * @author		zhoubing
 * @date   		2018-08-20 12:35:16
 * @revision	v1.0
 */
package com.jftone.bh.app.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GenerationType;
import javax.persistence.Table;
import org.jftone.model.Model;
import javax.persistence.GeneratedValue;
import java.util.Date;
import javax.persistence.Id;

@Entity
@Table(name="sys_menu")
public class SysMenu extends Model {
	@Column(name="parent_code")
	private String parentCode;

	@Column(name="menu_url")
	private String menuUrl;

	@Column(name="menu_code")
	private String menuCode;

	@Column(name="seq_sort")
	private Integer seqSort;

	@Column(name="closed")
	private Short closed;

	@Column(name="menu_name")
	private String menuName;

	@Column(name="update_time", columnDefinition="datetime")
	private Date updateTime;

	@Column(name="remark")
	private String remark;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="id")
	private Integer id;

	public String getParentCode() {
		return parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	public String getMenuUrl() {
		return menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public String getMenuCode() {
		return menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}

	public Integer getSeqSort() {
		return seqSort;
	}

	public void setSeqSort(Integer seqSort) {
		this.seqSort = seqSort;
	}

	public Short getClosed() {
		return closed;
	}

	public void setClosed(Short closed) {
		this.closed = closed;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
